package com.ywd.materials.admin.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * YWD
 * 2025/11/14
 */
@Accessors(chain = true)
@Data
public class MaterialsGoodsQuery extends PageQuery implements Serializable {

    /**
     * 物资类型ID
     */
    @Schema(description = "物资类型ID")
    private Long materialsGoodsTypeId;
    /**
     * 物资名称
     */
    @Schema(description = "物资名称")
    private String name;
    /**
     * 规格
     */
    @Schema(description = "规格")
    private String specs;
    /**
     * 单位
     */
    @Schema(description = "单位")
    private String unit;
    /**
     * 添加方式(0=系统添加,1=自定义添加)
     */
    @Schema(description = "添加方式(0=系统添加,1=自定义添加)")
    private String sourceType;
    /**
     * 状态(0=停用,1=正常)
     */
    @Schema(description = "状态(0=停用,1=正常)", defaultValue = "1")
    private Integer status;

}
